package com.cyw.note.reception.controller;


import com.cyw.common.core.domain.R;
import com.cyw.note.common.RespBean1;
import com.cyw.note.manage.service.ILinksService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author 二叔
 * @since 2020-11-30
 */
@RestController
@RequestMapping("/links")
public class LinksShowController {
    @Autowired
    private ILinksService linksService;

    @GetMapping("/getAllLink")
    public R getAllLink() {
        return linksService.queryAll();
    }
}
